home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-12-31 | 929 b | 65 lines | [TEXT/EDIT] |
- This file demonstrates how one can use the scale command to make a movie
- that zooms in towards an atom. The move command has been added to force
- the atom at (-75,-75) to remain fixed as we zoom in. Only the first
- move command is necessary. The others are redundant and could be
- eliminated. They have been provided just to emphasize the fact that
- the offset is in the user coordinate system, so that different offsets
- don't need to be provided when the scale factor changes.
-
- In a real movie, one would probably add erase commands between frames.
-
- *reset
- *erase
- *move
- 75 75 0
-
- *atomdefs
- 2
- 20 65535 0 0
- 20 0 16367 0
-
- *atoms
- 9
- -75 -75 -75 1
- -75 75 -75 1
- 75 -75 -75 1
- 75 75 -75 1
- 0 0 0 2
- -75 -75 75 1
- -75 75 75 1
- 75 -75 75 1
- 75 75 75 1
-
- *scale
- 1.1
- *move
- 75 75 0
- *plot
-
- *scale
- 1.2
- *plot
-
- *scale
- 1.3
- *plot
-
- *scale
- 1.4
- 104.5 104.5 0
- *plot
-
- *scale
- 1.5
- *move
- 75 75 0
- *plot
-
- *scale
- 1.6
- *plot
-
- *end
-
-
-